package com.aaa.mapper;

import com.aaa.pojo.Student;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author 苏兮莫
* @description 针对表【student】的数据库操作Mapper
* @createDate 2023-04-09 12:13:22
* @Entity com.aaa.pojo.Student
*/
@Repository
public interface StudentMapper {
    //查
    Student findById(Integer id);
    List<Student>findAll();
    //增
    int insert(Student student);
    //改
    int update(Student student);
    //删
    int delete (Integer id);
}




